<extend name="Public/base"/>

<block name="head">
    <title>注册</title>
</block>
<block name="style">
    <style>
        .app-content{
            background-image: url(http://www.maosui.com/statics/v2/wap/img/loginbg.jpg);
            background-size: 100%;
            background-position: top center;
            height: 100%;
        }
    </style>
</block>

<block name="body">
    <div class="app-page" data-page="home" style="display: block;">
        <div class="app-content">
            <div style="text-align: center;height: 100px;" >
                <img style="margin-top: 30px;" src="http://ms.maosui.com/statics/images/logo.png" alt="logo"/>
            </div>
            <form id="register_form" class="app-section" action="" method="post">
                <input class="app-input" type="text" name="username" placeholder="用户名" autocomplete="off">
                <input class="app-input" type="password" name="password" placeholder="密码">
                <input class="app-input" type="password" name="repassword" placeholder="重复密码">

                <div class="app-button green app-submit" onclick="register_form.submit()">注册</div>
            </form>
            <div class="app-section">
                已有账号? <a href="{:URL('login',array('redirect_url'=>$redirect_url))}">登陆</a>
            </div>
        </div>
    </div>
</block>

<block name="script">

</block>